

class Goods implements GoodsInterface{

  String  img;
  String  title;
  double  price;
  String  total;
  String  spec;

  Goods({this.img, this.title, this.price, this.total, this.spec});

}

abstract class GoodsInterface{
  String get img;
  String get title;
  double get price;
  String get total;
  String get spec;
}